print(pow(2,3))  #表示的是2的3次方
print(pow(2,3,3)) #表示对2的3次方%3求余

print(int(3.6))  #保留整数部分

print(ord('a'))

print(bool(""))

print(bytes("中",encoding="utf-8"))

print(all(()))


list1=["python","java","vue","Mysql","HTML"]
# list1.sort()
print(list1)
list3=sorted(list1,reverse=False)
print(list3)
print("排序后的list1")
print(list1)

for item in range(0,50,2):
    print(item)
    pass

# 如果可迭代对象的元素个数不一样，那么按照最少的那个迭代压缩最少元素进行可迭代对象结束后退出
list4=["name","age","hobby","weight"]
list5=["tom",26,"唱歌"]
print(list(zip(list4,list5)))

for item in enumerate(list4,3):
    # print(index)
    print(item)
    pass
dict1={"name":"tom","age":26}
for item in enumerate(dict1):
    print(item)
    pass